package com.shujiaotong.service.impl;

import com.shujiaotong.pojo.Room;
import com.shujiaotong.mapper.RoomMapper;
import com.shujiaotong.service.IRoomService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author author
 * @since 2024-10-20
 */
@Service
public class RoomServiceImpl extends ServiceImpl<RoomMapper, Room> implements IRoomService {

    @Autowired
    private RoomMapper roomMapper;
    @Override
    public List<String> getRoomNames() {
        return roomMapper.getRoomNames();

    }
}
